//引入mongoose
const { Schema, model } = require('mongoose');

//创建数据结构
const usersSchema = new Schema({
    passWord: String,
    userGender: String,
    userName: String,
    userPhone: String,
}, { versionKey: false })
//创建模型对象
const usersModel = model('usersModel', usersSchema, 'users');

module.exports={
    usersModel
}